package com.yj.oa.dto.system;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * Copyright 2017 (C) Yunjian-VC
 * Created on : 2017/12/1
 * Author     : Unbelievable9
 **/
@Data
public class OABindingDto {

    @NotNull(message = "易煤用户ID不能为空")
    @ApiModelProperty(value = "易煤用户ID", required = true)
    private Integer ym_user_id;

    @NotNull(message = "易煤用户电话不能为空")
    @ApiModelProperty(value = "易煤用户电话", required = true)
    private String ym_user_phone;

    @NotNull(message = "OA系统用户名不能为空")
    @ApiModelProperty(value = "OA系统用户名", required = true)
    private String oa_username;

    @NotNull(message = "OA系统用户密码不能为空")
    @ApiModelProperty(value = "OA系统用户密码", required = true)
    private String oa_password;
}
